package com.luxsoft.siipap.migracion;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.luxsoft.siipap.model.core.Linea;

public class LineaMapper implements RowMapper{

	public Object mapRow(ResultSet rs, int rowNum) throws SQLException {
		Linea l=new Linea();
		l.setNombre(rs.getString("NOMBRE"));
		l.setDescripcion(rs.getString("DESCRIPCION"));
		return l;
	}
	

}
